package com.qf.pkg.controller;

import com.qf.core.dto.PageDto;
import com.qf.core.vo.PageResult;
import com.qf.pkg.entity.PackageOrder;
import com.qf.pkg.service.PackageOrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author zhu
 * @since 2023-10-27
 */
@RestController
@RequestMapping("/package-order")
@CrossOrigin
public class PackageOrderController {
    @Autowired
    private PackageOrderService packageOrderService;

    @PostMapping("page")
    public PageResult page(@RequestBody PageDto<PackageOrder> pageDto){
        return packageOrderService.selectPage(pageDto);
    }





}
